package com.youdianstar.app.entity

/**
 * 国家代码数据常量
 * 包含越南、中国、美国三个国家
 */
object CountryData {
    
    val DEFAULT_COUNTRIES = listOf(
        CodeEntity(
            id = 1,
            en = "Vietnam",
            cn = "越南", 
            code = 84,
            abb = "VN",
            hot = true,
            image = null,
            title = "热门"
        ),
        CodeEntity(
            id = 2,
            en = "China",
            cn = "中国",
            code = 86,
            abb = "CN", 
            hot = false,
            image = null,
            title = null
        ),
        CodeEntity(
            id = 3,
            en = "United States",
            cn = "美国",
            code = 1,
            abb = "US",
            hot = false,
            image = null,
            title = null
        )
    )
    
    // 默认国家（越南）
    val DEFAULT_COUNTRY = DEFAULT_COUNTRIES[0]
    
    init {
        println("CountryData: 初始化了 ${DEFAULT_COUNTRIES.size} 个国家数据")
        DEFAULT_COUNTRIES.forEach { country ->
            println("CountryData: ${country.cn} (${country.en}) +${country.code}")
        }
    }
}
